<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'accountProjectBuilding.label', default: 'AccountProjectBuilding')}"/>
    <title>项目楼盘详情</title>
    <style>
    .checkboxGroup {
        display: inline-block;
        padding: 7px 10px;
    }
    </style>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right">
                <ol class="hbreadcrumb breadcrumb">
                    <li>CINDATA</li>
                    <li>
                        项目
                    </li>
                    <li class="active">
                        <span>项目楼盘详情</span>
                    </li>
                </ol>
            </div>

            <h2 class="font-light m-b-xs">
                项目楼盘: ${this.accountProjectBuilding.name}
            </h2>
        </div>
    </div>
</div>

<div class="content animate-panel">

    <div class="row">
        <g:if test="${flash.message}">
            <div class="message alert alert-info" role="status">${flash.message}
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
            </div>
        </g:if>
        <div class="hpanel hred contact-panel">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link class="btn btn-info btn-xs" action="edit" resource="${this.accountProjectBuilding}"><i class="fa fa-edit"></i>编辑</g:link>
                </div>
                项目楼盘详情
            </div>

            <div class="panel-body">
                <div class="text-muted font-bold m-b-xs ol-md-6">
                    <div class="col-md-12">
                        <h4>
                            <a href=>${this.accountProjectBuilding?.name}</a>
                        </h4>
                    </div>
                </div>
            </div>

            <div class="panel-footer contact-footer">
                <div class="row">
                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>地址</span>
                            <strong>${this.accountProjectBuilding?.address} </strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>资质证书编号</span>
                            <strong>${this.accountProjectBuilding?.certificateNumber}</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>建筑类型</span>
                            <strong>${this.accountProjectBuilding?.buildingType?.name}</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>占地面积</span>
                            <strong>${this.accountProjectBuilding?.coveringArea}</strong>
                        </div>
                    </div>

                    <div class="col-md-2 border-right">
                        <div class="contact-stat">
                            <span>建筑面积</span>
                            <strong>${this.accountProjectBuilding?.totalBuildingArea}</strong>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    %{--国土证--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                国土证
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="国土证号"/>
                            <g:sortableColumn property="address" title="土地坐落"/>
                            <g:sortableColumn property="coveringArea" title="土地用途"/>
                            <g:sortableColumn property="totalBuildingArea" title="使用权面积（平方米）"/>
                            <g:sortableColumn property="certificateNumber" title="土地出让年限自"/>
                            <g:sortableColumn property="buildingType" title="发证日期"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    %{--施工许可证--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                施工许可证
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="施工许可证编号"/>
                            <g:sortableColumn property="address" title="工程名称"/>
                            <g:sortableColumn property="coveringArea" title="建设规模（平方米）"/>
                            <g:sortableColumn property="totalBuildingArea" title="施工单位)"/>
                            <g:sortableColumn property="certificateNumber" title="设计单位"/>
                            <g:sortableColumn property="buildingType" title="合同价格（万元）"/>
                            <g:sortableColumn property="buildingType" title="发证日期"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    %{--建设工程规划许可证--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                建设工程规划许可证
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="建设工程规划许可证号"/>
                            <g:sortableColumn property="address" title="建设单位"/>
                            <g:sortableColumn property="coveringArea" title="建设位置"/>
                            <g:sortableColumn property="totalBuildingArea" title="建设规模"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    %{--地块信息--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                地块信息
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="地块编号"/>
                            <g:sortableColumn property="address" title="土地四至范围"/>
                            <g:sortableColumn property="coveringArea" title="总用地面积（平方米）"/>
                            <g:sortableColumn property="totalBuildingArea" title="用地性质"/>
                            <g:sortableColumn property="totalBuildingArea" title="受让单位"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    %{--开发商信息--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                开发商信息
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="开发商名称"/>
                            <g:sortableColumn property="address" title="统一社会信用代码"/>
                            <g:sortableColumn property="coveringArea" title="注册资金"/>
                            <g:sortableColumn property="totalBuildingArea" title="注册资金币种"/>
                            <g:sortableColumn property="totalBuildingArea" title="法人"/>
                            <g:sortableColumn property="totalBuildingArea" title="单位性质"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

    %{--销售统计--}%
    <div class="row">
        <div class="hpanel hyellow collapsed">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide">
                        <i class="fa fa-chevron-up"></i>
                    </a>
                </div>
                销售统计
            </div>

            <div class="panel-body no-padding" style="display: block">
                <div class="table-responsive">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <g:sortableColumn property="name" title="预售证"/>
                            <g:sortableColumn property="address" title="已售总套数"/>
                            <g:sortableColumn property="coveringArea" title="未售总套数"/>
                            <g:sortableColumn property="totalBuildingArea" title="已售总面积（平方米）"/>
                            <g:sortableColumn property="totalBuildingArea" title="未售总面积（平方米）"/>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>

</div>
</body>
</html>



